﻿<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="CityFly" xmlns:page="urn:page">
  <xsl:output method="html" encoding="utf-8"/>
  <xsl:template match="/">
  <table width="100%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#eeeeee" class="InfoEdit">
      <form id="form1" name="form1" method="post" action="">
        <tbody>
          <tr bgcolor="#ffffff">
            <td width="80" align="left">编码</td>
            <td align="left"><xsl:value-of select="rows/row/ID"/></td>
          </tr>
          
          <tr bgcolor="#ffffff">
            <td align="left">菜单名称<font color="#ff0000">*</font></td>
            <td align="left"><select name="Menu_ID" id="Menu_ID">
            <xsl:value-of select="page:xLoadList('功能菜单选择',0,string(rows/row/F_Menu_ID))" disable-output-escaping="yes"/>
			</select></td>
          </tr>
          
          <tr bgcolor="#ffffff">
            <td align="left">权限<font color="#ff0000">*</font></td>
            <td align="left">
			<label><input name="F_Run" type="checkbox" id="F_Run" value="1" ><xsl:if test="rows/row/F_Run=1"><xsl:attribute name="checked">1</xsl:attribute></xsl:if></input>运行</label>&nbsp;&nbsp;
			<label><input name="F_Ins" type="checkbox" id="F_Ins" value="1" ><xsl:if test="rows/row/F_Ins=1"><xsl:attribute name="checked">1</xsl:attribute></xsl:if></input>增加</label>&nbsp;&nbsp;
			<label><input name="F_Edt" type="checkbox" id="F_Edt" value="1" ><xsl:if test="rows/row/F_Edt=1"><xsl:attribute name="checked">1</xsl:attribute></xsl:if></input>编辑</label>&nbsp;&nbsp;
			<label><input name="F_Del" type="checkbox" id="F_Del" value="1" ><xsl:if test="rows/row/F_Del=1"><xsl:attribute name="checked">1</xsl:attribute></xsl:if></input>删除</label>&nbsp;&nbsp;
            <label><input name="F_Upd" type="checkbox" id="F_Upd" value="1" ><xsl:if test="rows/row/F_Upd=1"><xsl:attribute name="checked">1</xsl:attribute></xsl:if></input>更新</label>			</td>
          </tr>
          

          <tr bgcolor="#ffffff">
            <td align="left">&nbsp;</td>
            <td height="40" align="left"><input class="btnC" id="Submit1" type="button" value="保存" name="Submit1"><xsl:attribute name="onclick">if(TM.saveContentCmd(this,form1,false)==1)TM.pList();</xsl:attribute></input>
              &nbsp; &nbsp;
              <input class="btnC" type="button" value="取消" name="button" ><xsl:attribute name="onclick">TM.closeTab()</xsl:attribute></input>
&nbsp; &nbsp;
<input name="editID" type="hidden" id="editID"><xsl:attribute name="value"><xsl:value-of select="rows/row/ID"/><xsl:if test="count(rows/row)=0">0</xsl:if></xsl:attribute>
              </input>
			 <input name="Master_ID" type="hidden" id="Master_ID" value="{page:xRequest('masterid',0)}"/><input name="f" type="hidden" id="f" value="@系统菜单权限"/></td>
          </tr>
        </tbody>
      </form>
    </table>
  </xsl:template>
</xsl:stylesheet>
